﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace ConfigCreate.Model
{
    /// <summary>
    /// 
    /// </summary>
    public struct GroupHeader
    {
        /// <summary>
        /// 大类别
        /// </summary>
        [JsonProperty("HN")]
        public string HeaderName;
        /// <summary>
        /// 组名
        /// </summary>
        [JsonProperty("GN")]
        public string GroupName;
        /// <summary>
        /// 控件标题
        /// </summary>
        [JsonProperty("CN")]
        public string ControlName;

        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="header"></param>
        /// <param name="group"></param>
        /// <param name="control_name"></param>
        public GroupHeader(string header, string group, string control_name)
        {
            HeaderName = header; 
            GroupName = group;
            ControlName = control_name;
        }
    }
}
